package com.youlai.boot.energyPlan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.energyPlan.model.entity.UserEnergyPlan;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.energyPlan.model.query.UserEnergyPlanQuery;
import com.youlai.boot.energyPlan.model.vo.UserEnergyPlanVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户能量计划Mapper接口
 *
 * @author cuishng
 * @since 2025-04-01 14:56
 */
@Mapper
public interface UserEnergyPlanMapper extends BaseMapper<UserEnergyPlan> {

    /**
     * 获取用户能量计划分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<UserEnergyPlanVO> getUserEnergyPlanPage(Page<UserEnergyPlanVO> page, UserEnergyPlanQuery queryParams);

}
